package com.youhome.service.service;

import com.youhome.common.exception.CustomException;
import com.youhome.service.model.BTemplateMail;

import java.util.List;

/**
 * Created by chen365 on 2017/12/20.
 */
public interface BTemplateMailService {

    List<BTemplateMail> selectByBean(BTemplateMail record);
    BTemplateMail selectByPrimaryKey(Long id)throws CustomException;

    List<BTemplateMail> selectMailTemplate(Integer type) throws CustomException;
}
